<?php

use Biz\service\FilterPage as sFilterPage;


class jointSearchAction extends ActionPlugin
{
    const USER_LEVEL = self::LEVEL_NOTHING;

    public function main()
    {

        $categoryId = $this->getRequest()->getQuery('category_id', 0);
        $tag = $this->getRequest()->getQuery('tag', '礼物精选');


        $filterPage = sFilterPage::jointSearchPage([
            'category_id' => $categoryId,
            'tag' => $tag,
        ]);

        $this->setSuccess($filterPage);

    }
}